package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.QscCompanyRelation;
import org.jeecg.modules.company.facade.IQscCompanyRelationFacade;
import org.jeecg.modules.company.service.IQscCompanyRelationService;
import org.jeecg.modules.company.vo.QscCompanyRelationVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 公司质购买的维码
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class QscCompanyRelationFacadeImpl extends IFacadeImpl<QscCompanyRelationVo, QscCompanyRelation, IQscCompanyRelationService>  implements IQscCompanyRelationFacade<QscCompanyRelationVo, QscCompanyRelation> {
        @Autowired
        private IQscCompanyRelationService qscCompanyRelationService;


         @Override
         public QscCompanyRelation po2Vo(QscCompanyRelationVo vo) {
                QscCompanyRelation po = new QscCompanyRelation();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public QscCompanyRelationVo vo2Po(QscCompanyRelation po) {
                QscCompanyRelationVo vo = new QscCompanyRelationVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
